/*******************************************************************************
 * Copyright (c) 2010, 2030 www.itlaobing.cn
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package cn.itlaobing.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/** 
 * ClassName: table <br/> 
 * Function: TODO 功能描述 <br/> 
 * date: 2017年10月30日 下午9:59:48 <br/> 
 * 
 * @author 苏积钰 
 * @version  
 * @since JDK 1.8 
 */
@WebServlet("/hello")
public class table extends HttpServlet {
	/* (non-Javadoc)
	 * @see javax.servlet.http.HttpServlet#service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
	 */
	@Override
	protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getSession().setAttribute("msg", 1234);
		request.getRequestDispatcher("/WEB-INF/index.jsp").forward(request, response);	
	}
}
